﻿using System.Configuration;

namespace Ycg.Logging.Configuration
{
    public class DBLogTargetConfigurationElement : LogTargetConfigurationElement
    {
        [ConfigurationProperty("spName", DefaultValue = "InsetLog")]
        public string StoredProdureName
        {
            get { return (string)base["spName"]; }
            set { base["spName"] = value; }
        }

        [ConfigurationProperty("commandText", DefaultValue = "")]
        public string CommandText
        {
            get { return (string)base["commandText"]; }
            set { base["commandText"] = value; }
        }

        [ConfigurationProperty("fullName", DefaultValue = "Ycg.Logging.Targets.DBLogTarget")]
        public override string FullName
        {
            get { return (string)base["fullName"]; }
            set { base["fullName"] = value; }
        }
    }
}
